var mongoose = require('mongoose'),
	PublicEnum = require('./Enum');

exports.FilePath = "./downloads/";

exports.GatewayServer = null;
mongoose.model("Parameter").findOne({Code: 'GatewayServer'}).exec(function(err, record){
	if(!err && record != null){
        exports.GatewayServer = record.Value;
	}
});

exports.InternalServer = null;
mongoose.model("Parameter").findOne({Code: 'InternalServer'}).exec(function(err, record){
	if(!err && record != null){
        exports.InternalServer = record.Value;
	}
});
